<template>
	<view class="">
		<navBar title="临时牌入场"></navBar>
    <view class="page_wrap" v-show="isShowPage">
			<view class="plate-input" v-if="!parkingInfo.plateNumber">
				<component-car :carShow="true" :onlyInput="true" @confire="handleSuccess"></component-car>
			</view>
			<view class="parking-info" v-else>
				<view class="title">
					<view class="title-left">
						<image class="icon-car" :src="bg_image.iconCar"></image>
						<text class="car-no-title">{{parkingInfo.plateNumber || ''}}</text>
					</view>
				</view>
				<view>
					<view class="car-info">
						<view class="line">
							<text>车场名称：</text>
							<text class="blue">{{parkingInfo.parkName || ''}}</text>
						</view>
						<view class="line">
							<text>驶入时间：</text>
							<text>{{parkingInfo.enterTime || ''}}</text>
						</view>
					</view>
				</view>
				<view class="confirm-btn" @click="handleConfirmEntry">确认入场</view>
			</view>
		</view>
	</view>
	
</template>

<script>
import temporaryEntryce from './js/temporaryEntryce'

import componentCar from './components/ComponentCar/index.vue'
export default {
	components: {
		componentCar 
	},
	...temporaryEntryce 
}
</script>

<style lang="less" scoped>
@import url('./css/temporaryEntryce.less');
</style>
